<!--{if $shop_array.page_name == 'index'}-->

    <header>
        <a href="<!--{$ebsig_comm.website.domain_name}-->/wap" class="logo"></a>
        <div class="city">
            <select id="city">
                <!--{foreach from=$ebsig_comm.city item=city}-->
                    <option value="<!--{$city.id}-->"><!--{$city.name}--></option>
                <!--{/foreach}-->
            </select>
        </div>

        <div id="userBox">
            <a href="<!--{$ebsig_comm.link.member_center}-->"></a>
            <a href="<!--{$ebsig_comm.link.cart}-->"><span id="cart_amount">0</span></a>
        </div>

    </header>

<!--{else}-->

    <header>
        <!--{if isset($shop_array.prev_link)}-->
        <a href="<!--{$shop_array.prev_link}-->" class="icon back"></a>
        <!--{/if}-->
        <div class="title">
            <!--{$shop_array.title_name}--><br><span><!--{$shop_array.e_title_name}--></span>
        </div>
        <!--{if isset($shop_array.is_cart)}-->
        <!--{if $shop_array.is_cart == 1}-->
            <div id="h_right" class="J-shoping">
                <a href="<!--{$ebsig_comm.link.cart}-->"><span id="cart_amount" class="J-shoping-num">0</span></a>
                <a href="<!--{$ebsig_comm.website.domain_name}-->/wap"></a>
            </div>
        <!--{/if}-->
        <!--{/if}-->
        <!--{if isset($shop_array.is_submit)}-->
            <!--{if $shop_array.is_submit == 0}-->

            <!--{if !isset($shop_array.is_cart)}-->
                <a href="<!--{$ebsig_comm.website.domain_name}-->/wap" class="icon home"></a>
            <!--{/if}-->

            <!--{elseif $shop_array.is_submit == 1}-->
                <a href="javascript:void(0)" class="icon Submit">提交</a>
            <!--{/if}-->
        <!--{/if}-->
    </header>
    
<!--{/if}-->